Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing; addition of GdResVec #11

Merged
merged 1 commit into from
Dec 23, 2023
Merged

testing; addition of GdResVec #11

merged 1 commit into from
Dec 23, 2023

Conversation

StatisMike
Copy link
Owner

This PR introduces:

  • GdResVec - a handy wrapper around Vec<Gd<T>> (where T: Inherits<Resource>), that can be used on Rust side in the same way as inner Vec<Gd<T>>, and is exposed on Godot side as Array<T>. It also inherits Property and Export
  • serde_gd modules to handle collections of Gd<T>:
    • serde_gd::gd_resvec and serde_gd::ext_resvec for bundled and external serlialization of GdResVec<T>
    • serde_gd::gd_hashmap and serde_gd::ext_hashmap for bundled and external serialization of HashMap<K, Gd<T>>
  • more robust testing with gd-rehearse

@StatisMike StatisMike merged commit 2b9409f into master Dec 23, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant